package demo0151.controller;
import demo0151.pojo.Pojj;
import demo0151.service.Service1;
import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;

@Controller
public class conffff {
    @Autowired
    private Service1 service1;

    public void sets(){
        Pojj pojj = new Pojj();
        pojj.setAge(12);
        pojj.setName("丁先生");
        pojj.setPlay("玩");
        service1.he(pojj);
    }
}
